package cn._2dland.net
{
	import cn._2dland.video.StreamInfo;
	
	import flash.events.Event;

	public class DirectPartLoader extends PartLoader
	{
		public function DirectPartLoader(){
			super();
		}

		override public function load(partXml:XML):void{
			super.load(partXml);

			var info:StreamInfo = new StreamInfo(_partName, partXml.url, partXml.length, _smooth);
			_infos.push(info);

			dispatchEvent(new Event(Event.COMPLETE));
		}
	}
}